<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<title>选择</title>
		<!-- inject:css -->
		<link rel="stylesheet" href="/common/vendor/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="/common/vendor/easyui/themes/color.css" />
		<link rel="stylesheet" href="/common/vendor/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/common/vendor/layui/css/layui.css">
		<link rel="stylesheet" href="/static/css/common.css">
		<link rel="stylesheet" href="/static/css/ie8.css">
		<link rel="stylesheet" href="/static/font/iconfont.css" />
		<!-- endinject -->
		<link rel="stylesheet" href="<%= fileName %>.css" />
	</head>
	<body class="pd-10-10-0">

		<script type="text/html" id="toolbar">
			<div class="layui-btn-container">
				<button class="layui-btn layui-btn-sm" lay-event="batchbSel">批量选择</button>
			</div>
		</script>

		<script type="text/html" id="rowbar">
			<a class="layui-btn layui-btn-xs" lay-event="sel">选择</a>
		</script>

		<script id="select_item" type="text/html">
			<li class="wt-selected-item">
				<div class="wt-selected-item-content">
					<h5>{{d.personnelName}}</h5>
					<p>{{# if(d.personnelNo){ }}{{d.personnelNo}}{{# } }}</p>
				</div>
				<div class="wt-close" data-id="{{d.id}}">
					<span class="iconfont">&#xe82a;</span>
				</div>
			</li>
		</script>
		
		<script id="batch_select_item" type="text/html">
			{{#  layui.each(d, function(index, item){ }}
			<li class="wt-selected-item">
				<div class="wt-selected-item-content">
					<h5>{{item.personnelName}}</h5>
					<p>{{# if(item.personnelNo){ }}{{item.personnelNo}}{{# } }}</p>
				</div>
				<div class="wt-close" data-id="{{item.id}}">
					<span class="iconfont">&#xe82a;</span>
				</div>
			</li>
			{{#  }); }}
		</script>

		<div class="layui-clear wt-box">
			<div class="fl wt-tree">
				
				<form class="layui-form wt-search" lay-filter="orgSearchForm">
					<div class="layui-input-inline" style="width: 196px;">
						<input type="text" name="name" placeholder="请输入组织机构名称" autocomplete="off" class="layui-input">
					</div>
					<button class="layui-btn" lay-submit lay-filter="orgSearch">搜 索</button>
				</form>
				
				<ul class="easyui-tree" id="org_tree">正在加载中...</ul>
			</div>

			<div class="fl wt-list">

				<div class="wt-filter mb-10">
					<form class="layui-form" lay-filter="filterForm">
						<div class="layui-fluid">
							<div class="layui-row layui-col-space10">
								<div class="layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg4">
									<div class="layui-form-item wt-two-words">
										<label class="layui-form-label">姓名</label>
										<div class="layui-input-block">
											<input type="text" name="personnelName" placeholder="请输入姓名" autocomplete="off" class="layui-input">
										</div>
									</div>
								</div>
								<div class="layui-col-xs12 layui-col-sm6 layui-col-md5 layui-col-lg5">
									<div class="layui-form-item wt-four-words">
										<label class="layui-form-label">人员编号</label>
										<div class="layui-input-block">
											<input type="text" name="personnelNo" autocomplete="off" placeholder="请输入用户名" class="layui-input">
										</div>
									</div>
								</div>

								<div class="layui-col-xs12 layui-col-sm6 layui-col-md3 layui-col-lg3">
									<div class="layui-form-item wt-btn-together">
										<button class="layui-btn layui-btn-normal layui-btn-sm" lay-submit lay-filter="search">搜 索</button>
										<button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
									</div>
								</div>
							</div>
						</div>
					</form>
				</div>

				<table id="belongUserTable" lay-filter="belongUserTable"></table>
			</div>
			<div class="fl wt-selected">
				<ul class="wt-selected-area"></ul>
				<!-- <div class="bottom-btn-group layui-btn-group">
					<button class="layui-btn" lay-submit lay-filter="save" style="width: 82px;">提交</button>
					<button class="layui-btn  layui-btn-danger" style="width: 82px;" id="resetBtn">重置</button>
				</div> -->
			</div>
		</div>

		<!--[if lt IE 9]>
		<script src="/static/js/html5.min.js"></script>
		<script src="/static/js/respond.min.js"></script>
		<![endif]-->
		<!-- inject:js -->
		<script src="/common/vendor/easyui/jquery.min.js"></script>
		<script src="/common/vendor/easyui/jquery.easyui.min.js"></script>
		<script src="/common/vendor/easyui/locale/easyui-lang-zh_CN.js"></script>
		<script src="/common/vendor/layui/layui.js"></script>
		<script src="/common/module/excommon.js"></script>
		<!-- endinject -->
		<script src="<%= fileName %>.js"></script>
	</body>
</html>
